package com.icrazy.platform.exception;

/**
 * 处理持久层异常
 * 
 * @author xiaofeng
 * @version 2012-3-9
 */
public class DaoException extends PlatformException {

	private static final long serialVersionUID = -5413078809829178658L;

	private String mybatisId;

	public DaoException(String message) {
		super(message);
	}

	public DaoException(String message, Throwable cause) {
		super(message, cause);
	}

	public DaoException(String message, Throwable cause, String mybatisId) {
		super(message, cause);
		this.mybatisId = mybatisId;
	}

	public String getMybatisId() {
		return mybatisId;
	}

	public void setMybatisId(String mybatisId) {
		this.mybatisId = mybatisId;
	}

}
